﻿using System.Text.Json.Serialization;

namespace TuLing.Entities
{ 
    public class User 
    {
        public long Id { get; set; }
        public string Account { get; set; }
        public string Password { get; set; }
        public string Name { get; set; }
        public string Phone { get; set; }
        public string Remark { get; set; }

        [JsonIgnore]
        public virtual List<UserRole> UserRoles { get; set; }
    }
}